package com.itheima.ydd.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.itheima.ydd.entity.SysUser;
import lombok.Data;

import java.util.List;

@Data
public class UserInfo extends SysUser {

    @JsonProperty("role_id")
    private String[] roleIdList;

    @JsonProperty("rolename")
    private List<String> roleNameList;
}
